package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: gulimall
 * @description: 远程调用优惠券接口
 * @author: Chai.duolai
 * @create: 2020-05-24 14:42
 **/
//feignClient接口 有参数在参数必须加@PathVariable("XXX")和@RequestParam("XXX")
@FeignClient("gulimall-coupon")//表示要远程调用注册中心名称
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
